#ifndef MYMENU_H
#define MYMENU_H

#include <QMenu>
#include <QAction>
#include <QMouseEvent>

class MyMenu : public QMenu
{
    Q_OBJECT
public:
    explicit MyMenu(QWidget *parent = nullptr);

signals:
    void copyClicked();


protected:
    void mousePressEvent(QMouseEvent *event) override;

private:
    QAction action;

};

#endif // MYMENU_H
